package com.powazi.logging.service.impl;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.powazi.logging.model.helper.TopActivities;
import com.powazi.logging.service.LogHelpService;
import com.powazi.model.logging.LogModel;

/**
 * Log Help Service
 * 
 * @author gb
 * @date 2007-12-26
 */
public class LogHelpServiceImpl implements LogHelpService {
	
	public HashMap<String, List<String>> getUserActivities(List<String> userIds) {
		TopActivities list = new TopActivities();
		HashMap<String, List<String>> activity = new HashMap<String, List<String>>();

		List<String> ty = new ArrayList<String>();
		ty.add("asdf");
		ty.add("356");
		ty.add("a92103948jkasdjf");
		for (String news : userIds) {
			System.out.println(ty);
			activity.put(news, ty);
		}
		System.out.println(activity.get("5"));

		return activity;
	}

	public List<String> getUserActivitie(Long friendId) {
		List<String> activity = new ArrayList<String>();
		activity.add("JIE 添加了java新的袜子！");
		activity.add("JIE 删除了java袜箱");
		activity.add("JIE 修改了pormman袜箱");
		activity.add("JIE 移动了struts袜子");
		activity.add("JIE 修改了struts袜子");
		return activity;
	}


}
